﻿#include "speedsearch.h"

#include <QApplication>
#include <QStringListModel>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    SpeedSearch w;

    QStringListModel model;
    model.setStringList(QStringList() << "Apple" << "Banana" << "Cherry" << "Date" << "Elderberry");
    SpeedSearch *ss = new SpeedSearch;
    ss->initData(QStringList() << "Apple" << "Banana" << "Cherry" << "Date" << "Elderberry");
    ss->AddItem(QString("aaa"));
    w.show();
    return a.exec();
}
